package com.thwj.project.app.api.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("消息出参 MessageVo")
public class MessageVo {
    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("消息产生的用户id")
    private Long userId;

    @ApiModelProperty("用户昵称")
    private String userNickName;

    @ApiModelProperty("用户头像")
    private String userHeadPic;
    @ApiModelProperty("会员状态")
    private Boolean vipOrNot = false;

    @ApiModelProperty("消息类型 1=：系统消息,2=：动态消息,3=：滴滴消息")
    private Integer messageType;

    @ApiModelProperty("消息标题")
    private String messageTitle;
    @ApiModelProperty("消息类容")
    private String messageContent;
    @ApiModelProperty("消息时间")
    private String messageDate;


    @ApiModelProperty("动态id")
    private Long objectId;

    @ApiModelProperty("动态抽取图片")
    private String objectPic;

    @ApiModelProperty("动态抽取内容")
    private String objectContent;

    @ApiModelProperty("是否已读")
    private Boolean hasRead;

    @ApiModelProperty("跳转动作 类型  1：小程序页面  2：h5链接  空的话不需要跳转")
    private Integer actionType;
    @ApiModelProperty("当前消息跳转地址")
    private String pathLink;


}
